<?php
$sel_group=mysql_query('SELECT * FROM groups WHERE id="'.$_GET['id'].'" AND from_who="'.$_SESSION['username'].'"');
$row_group=mysql_fetch_assoc($sel_group);